package Vue.Chateau;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import javax.swing.JSplitPane;


public class ChateauJeu extends JPanel {

	private static final long serialVersionUID = 1L;
	private ChateauJeuPanelHaut chateauJeuPanelHaut;
	private ChateauJeuPanelBas chateauJeuPanelBas;
	private JSplitPane jsp;

	public ChateauJeu() {

		this.setSize(1272, 1000);
		//this.setLocationRelativeTo(null);
		this.setVisible(true);	

		this.chateauJeuPanelHaut = new ChateauJeuPanelHaut();
		this.chateauJeuPanelBas = new ChateauJeuPanelBas();

		this.chateauJeuPanelHaut.setSize(1272, 700);
		this.chateauJeuPanelHaut.setMaximumSize(new Dimension(1272, 760));
		this.chateauJeuPanelHaut.setMinimumSize(new Dimension(1272, 760));
		
		this.jsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT,this.chateauJeuPanelHaut, this.chateauJeuPanelBas);
		this.jsp.setDividerSize(1);
		this.jsp.setDividerLocation(760);

		this.setLayout(new BorderLayout());
		this.add(jsp);
		this.setBackground(Color.black);

	}

}
